﻿@model Liquidaciones.Models.RegisterModel 
           
@{
    ViewBag.Title = "RegisterLiquidador";
}

<h2><b>Crear nuevo liquidador</b></h2>
<p>
    Complete el formulario para crear una nueva cuenta de liquidador. 
</p>
<p>
   Las contraseñas deben contener un mínimo de @Membership.MinRequiredPasswordLength caracteres.
</p>
<p>
   <b>Todos los campos son obligatorios</b>
</p>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm("RegisterLiquidador", "Account", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
    <div>
        <fieldset class="scheduler-border" style="width:30%">
            <div class="editor-label">
               <label>Nombre de usuario</label>
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName, new { @class = "form-control", @placeholder = "Usuario" })
                @Html.ValidationMessageFor(m => m.UserName)
            </div>
            <div class="editor-label">
                <label>Contraseña</label>
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password, new { @class = "form-control" })
                @Html.ValidationMessageFor(m => m.Password)
            </div>
            <div class="editor-label">
                <label>Confirmar Contraseña</label>
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </div>
            <div class="editor-field">
            <label>Email</label>
                @Html.TextBoxFor(m => m.Email, new { @class = "form-control", @placeholder = "Email" })
                @Html.ValidationMessageFor(m => m.Email)
            </div>
            <br />
            <div class="form-group">
        <label for="inputNombre">Nombre</label><br />
        <input class="form-control" type="text" name="nombre" id="inputNombre" placeholder="Nombre" required />
     </div>
     <div class="form-group">
        <label for="inputApellido">Apellido</label><br />
        <input class="form-control" type="text" name="apellido" id="inputApellido" placeholder="Apellido" required />
     </div>
        <button class="btn btn-success">Crear Liquidador</button>
        </fieldset>
        </div>
    
}
        
